Refactored the ServiceTask class so that the available method names are
declared as static final variables