Simplified New-Type cmdlet.