Fixed method replacement by class and selector