added a method to remove stubs

I needed to remove some specific stubs in one project and was unable to find this feature. If there's something wrong, please, let me know, so I can fix it ASAP.