Implements `extend` keyword for inheritance.