Fixed error where variable type did not show up in declaration