New features and bug fixes