Fixed four import errors and unimplemented method.