Removed imports and fixed outdated interface.