Plugin for model to enable computed properties