Added 'use' function to extend the model with plugins