Minor refactoring to the Board class.

Minor refactorings. Nothing significant changed.