Setting the name property on the constructor when it is not supported natively