Removing useless $type property