Removed debug messages and stuff.