Added return statement to extension method

The existing example doesn't even compile :wink: