Update models.py

Allow to specify a class to inherit some style. This ain't perfect way, but should work|