Seems this should be DRYed up in a before block in this context.