Format. Add new function for removing types (deleteByPrimaryKey)