Factory method to create a parameter