Move to it's own method.