Add classes to entities as instructed.