Added prototype wrapper