cleaner implementation of NotImplemented