Replace input align constants with enumeration. Remove input dispose method.