Using class method for loading params