Alternative constructor definition.