Added interface spaceListener for generating of routes.