Push the full class calculation into the databinding layer

Code by @azakus