Update SynthesisUnit.java

- Added hook for adding function prototype
- Reorganized methods