expanded objectFreeze so that tern autcompletion works