Adds private interface to custom objects