Removes unecessary methods