Finished machine API methods. Change method variables to single options object.