Removing unnecessary import of api