I usually see classes and functions after the field definitions, any reason you have it on top?