Add an implemented flag to know which methods are implemented.
Set the implemented flag after the method has been defined.