Moved extension methods to a different file.