Fixing strict standard inheritance errors