Fixes #9 and removes the deploy method