Renamed prototype to default so as to not conflict with existing global