added removed method in api resource class