Replaced EntityCode with Runnable -> deleted EntityCode