minor
renamed template to api, added defalias