Removed unnecessary methods.