Fixed NullPointerException in Parameter class.