Added API to Prototype4