Added prototype declarations.