WTF error: Declaration should be compatible... (it is!)