Removed some unused imports.
Implemented ABC interface instead of raising NotImplemented
exceptions.