Removed useless old retrieve function.