Added missing methods definition.