Fixed internal declarations.