Extract entities from the session and return them in the design file.