Do not allow anonymous non-static classes from onCreateLoader callback