Incorporating decorator module code inline (BSD licensed)