Move common fmethods to common.h