Add type annotation for return statement