Refactor: Replace integral type with bool