Redefinition of method 'foo' at