When creating a schema-binding style table-valued function (one which immediately returns a table and does not define its structure), the RETURN keyword is included in the debug output. However, this should be removed when debugging as it isn't supported.