Added some documentation, changed interface with ACL handling.