Use hasOwnProperty() for testing for params #1