Refactored tile traits to fix compiler conflict.