added some utility methods to builder to make using it easier

added some utility methods to builder to make using it easier.
This also fixes a few issues.