Added prototype to ref apps