Closes #3

Add validation for supported functions