Added alternate `extend` syntax.