Added basic fetching logic.