Fixed return type and parameters attributes in function declaration/definition.