Added plenty of helper methods.