Added object construction functions.