Added some extension methods to help configuration