deleted unused types from API