Fixed dialyzer warnings and updated libraries.