Move object spec to new syntax.