Add declarative type and method declarations