Module to wrap try-catch for better performance and cleaner API.