Removed useless methods and files.