Fix implements vs. extends