do not encode const and static members