Would be good to have some sort of comment at top, that some methods are defined below.