MIST-157: make parameter types consistent
MIST-157: variable declaration needs to change also
Merge pull request #18 from mistifyio/MIST-157

MIST-157: make parameter types consistent