Organising SJView code a bit more