Refactored get_prefix and get_suffix to engine.board module.