Fixed multiple inheritance limits, fixes #76