Bugfix: Fixing the "forward-declaration of helper functions" problem.