Removing dead code

Removed a couple of private methods that aren't used anymore.