Declare bases before raw (not class).