Fixed nightly breaking change, need to specify lifetimes in return types