this macro is used in regclass and is not defined in any of the ports. it's also undocumented. can we get rid of this?