Privatize some functions