Add "check_master" function.
Add exports line.