If it involves dealing with them as major problems, then why even build your base at where they spawn?
*Grab a torch and burn them alive*