Reformatting plugin() to be a getter