Update Paths.java

changed ctx to not be static in enums