Added some new extension methods, mainly for MVC use