changed usage of static:: to self:: in Application