removes unnecessary API methods, simplifies code