Update for ios8. Remove unnecessary delegates