Separate PB_HTYPE to PB_ATYPE and PB_HTYPE. Also clean up the logic so that it is easier to implement more allocation types in the future. Update issue 53 Status: FixedInGit