Change layoutoptions to layoutobjects