removes unnecessary methods from project