Fixed class visibility of UDFs