return shared_pointer to const for const methods