extends and implements automatically import child definitions. fixed issue #2