Fixing some issues with the Brian backed reported by @adityagilra in #221