Added promise support to the build and create methods