Proto.extend instead of subclass