Added convenience extension methods.