Added priority class constants.
Updated configure_limit method, still needs testing.