class_inheritable_hash and scope syntax fixes