Prevent slice / concat, rather use .push for arguments in shell methods.

Also don't use prime.define, it can simply use this[key] = method directly.