If I add an object to another as an attribute and it also contains attributes will its attributes also be available in the main object? Thanks