Auto import

Added auto-import of API to simplify import.