Fix Issue #4, #5 - Error while parsing #statebox{}: Unable to find type ...

Fix Issue #4, #5 - Error while parsing #statebox{}: Unable to find type 'fun'