Removing unnecessary methods.