Compiler code cleanup (handling of entity runtime clauses)