Added action hooks and filters to help make the plugin more extendable