Inner classes separated from Traits