mark functions as registered and make sure they don't throw. closes #73