Fix a syntax bug.
Implement assign/create function.