SpaceMode for space instance metrics and String#trim() for provided space names