Uncommented the package declaration, that I accidentally left after testing the class with a temporary main method.