move these to common

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>