BUGFIX: Assumption that a reference will ALWAYS have a pages property has been removed