Fixed __new__ to accept keyword arguments.