Implemented recursive structures.