Fixed subspec inheritance issue.