Attach view object to entities