Rather than having a spaceType and a switch statement below to select the space type, i think it would be more concise to simply pass SpaceInformation here, and create the instance we want at the call site.