making prototype and static work
no more errors on missing name, but a nice warning