Implement safer inheritance.
Fixed alignment.
Merge branch 'qubyte-fix'