Removed all unused functionality.