Added behaviours for db and name lockers.
Stats callback behaviour.
Done with the types.