Implemented auxiliary methods.

Also added some javadocs that where missing.