Moving additional model logic into view.html.php