Added more helper methods.