extract static, optional functions to another class