Fix for declarations in object literals