add density spec and conversion helpers, #changelog