Generalize view methods to not be layout specific