Add annotations to exported functions