Fixes for empty functions, missing exports, comments at EOF