Remove composes dependency in the semantic space builders