Many fixes and good API for the effects