Improve +[inheritInstanceMethodsFromClass:].