Fixed bug in schema.
Merge branch 'test' into dev