Adding sharing, intercept hooks