Don't create expression mappings if deactivated

Close #49.