Added support for prototypes