Fixed a bug that prevented the onHit event handler from appearing in the Class Designer methods.