Fixed incorrect declarations