Refactor some drawing methods to 'generify' more.