dynamicproxy: Don't include API by default in class

Change-Id: Ib034c7445e5e8a988fcf679c34999a34d4119bed