Changed Theme class to only permit one parent