A generic plugin factory method for creating Mobify plugins.