Change entity_flags variable names to match PSR-2.