This function doesn't have to be a member, so remove it from the header. No real changes yet, but this will make it simpler to change it in the upcoming commits.