Added block functions.