Removed some unused methods.