remove API decl from template