Set default priority to 0 (instead of 1), remove unnecessary stuff