Define standing getter just once, instead of for each entity instance.
Define .allowSleep getter and setter just once, instead of for each entity instance.
Update comment for consistency.
Define .bodyType getter and setter just once, instead of for each entity instance.
Add missing 'this.'