implement :prototype attribute