Added preferences. Woo.