Type checking and type casting of parameters for Action Pack