Added basic routing logic.