Extract common public/private methods