Class configuration now exposes a new function: constructedBy(). This accepts a callback that will be responsible for constructing the class during resolution.