Removed some protected methods in the Spring class that are not necessary